﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;

namespace Adams.Web.Logic.PressReleases
{
    public static class PressRelease
	{
        public static Models.PressReleases.PressRelease.PageLoad PageLoad(string titleorid)
        {
            int id = titleorid.ToInt();
            if (id > 0)
            {
                return Data.PressReleases.PressRelease.PageLoad(id);
            }
            else
            {
                return Data.PressReleases.PressRelease.PageLoad(titleorid);
            }
        }
	}
}
